package com.rjpacket.supernews.app.utils;

import com.rjpacket.supernews.app.models.CategoryTitle;

import java.util.LinkedList;
import java.util.List;

/**
 * Created by aaa on 15-3-11.
 */
public class DataContainer {
    private static DataContainer ourInstance;

    public static DataContainer getInstance() {
        if (ourInstance == null) {
            ourInstance = new DataContainer();
        }
        return ourInstance;
    }

    private long stime;

    private int sequence;

    private int length = 6;

    private String baseUrl;

    private List<CategoryTitle> checkedTitles;

    private List<CategoryTitle> unCheckedTitles;

    public List<CategoryTitle> getCheckedTitles() {
        return checkedTitles;
    }

    public void setCheckedTitles(List<CategoryTitle> checkedTitles) {
        this.checkedTitles = checkedTitles;
    }

    public List<CategoryTitle> getUnCheckedTitles() {
        return unCheckedTitles;
    }

    public void setUnCheckedTitles(List<CategoryTitle> unCheckedTitles) {
        this.unCheckedTitles = unCheckedTitles;
    }

    public String getBaseUrl() {
        return baseUrl;
    }

    public void setBaseUrl(String baseUrl) {
        this.baseUrl = baseUrl;
    }

    public int getLength() {
        return length;
    }

    public void setLength(int length) {
        this.length = length;
    }

    public int getSequence() {
        return sequence;
    }

    public void setSequence(int sequence) {
        this.sequence = sequence;
    }

    public long getStime() {
        return stime;
    }

    public void setStime(long stime) {
        this.stime = stime;
    }

    private DataContainer() {
    }
}
